<?php 
class pagepositionsObj 
{
	var $id;
	var $webpageID;
	var $name;
	var $description;
	var $width;
	var $height;
	var $price;
	var $otherFields;

	public function TableName() { return "pagepositions";}
	public function idFieldName() { return "id";}
	public function webpageIDFieldName() { return "webpageID";}
	public function nameFieldName() { return "name";}
	public function descriptionFieldName() { return "description";}
	public function widthFieldName() { return "width";}
	public function heightFieldName() { return "height";}
	public function priceFieldName() { return "price";}

	function pagepositionsObj ($pid="",$pwebpageID="",$pname="",$pdescription="",$pwidth="",$pheight="",$pprice="") {

		$this->id = $pid;
		$this->webpageID = $pwebpageID;
		$this->name = $pname;
		$this->description = $pdescription;
		$this->width = $pwidth;
		$this->height = $pheight;
		$this->price = $pprice;
	}

} 
?>